<{include file="fenzhan:common/header.html"}>
<div class="page-title">
	<table width="100%" align="center" cellpadding="0" cellspacing="0" >
		<tr>
			<td width="30" align="right"><img src="<{$pager.url}>/images/main-h5-ico.gif" alt="" /></td>
			<th><{$MOD.title}></th>
			<td align="right"><{link ctl="designer/yuyue:so" load="mini:搜索内容" width="mini:500" class="button" title="搜索"}></td>
			<td width="15"></td>
		</tr>
	</table>
</div>
<div class="page-data">	
	<form id="items-form">
    <table width="100%" border="0" cellspacing="0" class="table-data table">
    <tr><th class="w-100">ID</th>
        <th>设计师</th><th>装修公司</th><th>业主</th><th class="w-100">称呼</th><th class="w-100">手机</th>
        <th class="w-100">状态</th><th class="w-150">预约时间</th><th>来源IP</th><th class="w-100">操作</th>
    </tr>
    <{foreach $items as $item}>
    <tr>
        <td><label><input type="checkbox" value="<{$item.yuyue_id}>" name="yuyue_id[]" CK="PRI"/><{$item.yuyue_id}><label></td>
        <td><a ucard="@<{$item.designer_id}>"><{$designer_list[$item.designer_id].uname|default:'--'}>(UID:<{$item.designer_id}>)</a></td>
        <td><{$company_list[$item.company_id].name|default:'--'}>(ID:<{$item.company_id}>)</td>
        <td><{if !empty($item.uid)}><{$member_list[$item.uid].uname}><{else}>游客<{/if}></td>
        <td><{$item.contact}></td><td><{$item.mobile}></td><td><{$item.status_title}></td>
        <td><{$item.dateline|format}></td><td><{$item.clientip}>(<{$item.clientip|iplocal}>)</td>
        <td>
            <{link ctl="designer/yuyue:detail" args=$item.yuyue_id title="查看" class="button"}>
        </td>
    </tr>
    <{foreachelse}>
     <tr><td colspan="20"><p class="text-align tip-notice">没有数据</p></td></tr>
    <{/foreach}>
    </table>
	</form>
	<div class="page-bar">
		<table>
			<tr>
			
			<td class="page-list"><{$pager.pagebar}></td>
		</tr>
		</table>
	</div>
</div>
<{include file="fenzhan:common/footer.html"}>